

<div id="section-content">
    <h2>Tests list</h2>
    <?php
    if (count($this->tests) == 0) {
    ?>
        
            <p>There is no tests.</p>

            <ul id="tests-list">
    <?php
    }
    foreach ($this->tests as $entry):
    ?>
                <li>
        <?php echo $this->escape($entry->name) ?> <a href="<? echo $this->baseUrl() ?>/user-tests/do-test/?test_id=<?php echo $this->escape($entry->id) ?>">Let's do it!</a>
                </li>


    <?php endforeach ?>
            </ul>
</div>